//
//  MYHomeHeaderView.swift
//  积分商城
//
//  Created by apple on 2016/12/6.
//  Copyright © 2016年 apple. All rights reserved.
//

import UIKit

class MYHomeHeaderView: UIView {

    override init(frame: CGRect) {
        super.init(frame: frame)

        setupUI()
    }
    
    required init?(coder aDecoder: NSCoder) {
        fatalError("init(coder:) has not been implemented")
    }
    private func setupUI(){
     addSubview(headerView)

    }
    private lazy var headerView:MYRollCollectionView = {
        let layout = UICollectionViewFlowLayout()
            let view = MYRollCollectionView(frame: CGRect(x: 0, y: 0, width: SCREENW, height: 100), collectionViewLayout: layout)
        return view;
    }()
   



}

